Fix for zipfile check