Fixed a bug in get_delim()