Rwsolving dependencies problem in handlers