remove unnecessary code path for < 2.7