fixed a bug where the platform was not generating after play again