plugin should use internal functions
fix annoying redrawing bug