fix incorrect direction