fix printPanel