Fix getter and setter for config parser to allow ints