fix appending slash to special cases