fix the uncompress bug