fixed dynamic notes null object reference