added spaces in the percent test as well.