quick Python fixes