Bug fix

added parse int to fix a bug with number comparison