fix panel wrap