tiny fix for wish error catching