make imaginary frequency an error