should fix http://tests.obspy.org/8900/#1