Fixing wrong dagger implementation

Hi,
i was trying to fix the dagger issue on Janusz fork. Unfortunately I did something wrong and my changes are in the main project now. Please could merge my request and delete this branch. Thanks!