change vanir to if path