fixed compilation error py file