fix missing check