bug fix first panel