Double execution of a plugin corrected