Order fix

fixed refactoring error