fixing http://tests.obspy.org/8596/#12