fixing the default value on fields