Can't compare string to integer