Added check for seperator before using