limit audio-end length