[FIX] fixed resize bug in packed string