corrected plugin