tom: fix for request to execute callback on error