validity check #3091

#3091