added psuedo gate before leaving hallway