fix errors after changing keyboard size for out of bound notes.