added a non-ideal fix for problem with tags - seems like they cannot contain whitespace?!?