remove slash to refer correct path.