zip format: enhanced valid, fix #966