Removed extraneous local var in tokenize_input