fix direction