Fixed error with spaces in input name.