minor error in order of commands