fixed bug that prevented movement through the dungeon