workaround for resource dsl