fix plugin install check