Fix error in operation order