remove extraneous slug