fix controlpanel test