removes duff error handling