possible fix to issues 1682, REST and DELETE