Fix note bug