remove slash that is not needed