solved the bug that made the obstacole generate over each other