added a hack-fix for spaces in the program.