fixed sample rate issue with markers