Fixed so it does not exception in python3.4