fixed bug in narrow corridors