fix typo in after_commands for mongo