fix avatar bug
fix plugin toggle buttons