updated verify for binary mode

but it always returns True Orz…