Thanks for pointing. Will add the checking.