panels fixes for states