fix inputPanel