pathologic and redirect module