refactor things for >2.7
update to latest version
these are quite common on debian systems