fixing record REST requests