fix plugin controller