fixed bug in the delim