fixes default value bug. default values for non-booleans were not being applied during code generation.