Note creation and deletion fixed