fixes note bug