fixes webpanel control