pin version number
remove unused code