cleanup of runErrors