Fixed issues of wavesurfer ready