cleans up text on notes page