refactor: use hook filter
authored by Alexander Lichter and committed by danabra.mov 3 months ago 9538814c 2f85e375