deprecate: remove use of custom status code