add simple check
suppress compile warning