use less logic in note view