added exception in the method of class
planing dashboard   and ancestry links