- fixed default values (only if not required)
- added default value for enum (propably broken)
- replaced char * by string