fixed broken plugin