bug fix: when delim is space