make notes null if none is selected