fixed line in get_token assigning null to ch