fix for stickiness on errors