fixed validity check for runs
latest