error can be non-numeric sometimes