fixed num of midi ports list and tagEvent