fix cfg paths on ubuntu