fix `unflatten` for sequenced/defaulted args
compile annotations