- fixing the on_command action