fixed the stops from dierctions