Remove astherisk before trailing slash