fix inputBox issue