fix bug panel overlap