fixed walk to exit

fixed walk to exit, if too far away
changed > 6 to < 6.