fixes REST.pm on skip caching #2865