fix nif path