Fix plugins loading order