fixed oauth2 app bug with command