fixed if statement on notes present