improve error handling for duff inserts