fix plugins loading