fix calls to plugin