add runtime check

runtime checker

fix

fix

fix

fix