fix panels not disabled