delete uselessness mCurInput, add test case