fix delimitmate to do the right thing