fixed so value is an integer when pulling from the dropdown list