fixing the way panel looks