trim and tidy on notes