tweaks to the unsuccessful handler