fixed nonsense in edf