Fix compatbility with py3