fix invalid REST_RESOURCE path