bzip2 error research code added