fixed problem with spaces in name