fix default resource