Fixed some minor bugs (from using cardinal directions)