Fix Entrance And Exit