moving direction corrrected