Fix plugins register