noteService.getByHead works