fixed note cutoff bug