workaround for resources