fixed some python3 things