fixed double panel issue