Fix error in compress file