fix for ca whole number value