fix sub command order