Fix input partial text