correct the befor path