Solved own bug