[vh] set modes in unpacker (fixes #37)