fix for pandas 0.15