fixed setting custom resource path