fix sometime freeze panel