fix for resource_class default value definition
Merge pull request #348 from evilguc/resource_class_definition_fix

fix for resource_class default value definition