Corrected direction bug

Previously, the direction was not good.