fix appending slash to *