fix the problem of first played note not playind completely