bug fix for omnical2npz