rm some unused vars reported by pylint