fix faulty pathname