fixed issue with whitespace in name