fix plugins compatibility