found the bug, now it is time to test it properly