fixed wrong direction