changed default for resource type