fix double open panel