fixed endless level generator, removed gate because its not needed anymore