code cleanup, fixed sixteenth note issue