fix pyton3 issue