fixed input box not emptying