make the file compile on python3