fix problem with decoding empty strings...