fix mistyping
add 2.6 and below fixes