Fixed sample rate issue