fixed python3 error and corrected includes