small cleanup
some python3 stuff