bug fix spaces in name