Fixed ims zipping (fix #78).