default value is stored else where as an integer

fix casting issue