fix the direction