don't set resource path when not using configuration