bugfix: pack 0 length string