python3 compatibility
small corrections