increasing samplerate and fixing some pyhon issue