fixed py25 check