fix plugin editing cap