handle sequence names with spaces