fixed occasional path error