Fixing small errors about the plugin's behavior.