reworked `get_handler()` method: removed possible collisions of its arguments with the arguments of handler