fixed the level and perfected collision