adjust resource path.