Fixed path preparing, in the case of ending slash