fix script validation exceptions not clearing out