fix compilation warning
remove unused properties in Note object