fix plugin install bug