Fix bug in mac with resultview