fix delete statuscode