Fix Edit Direction