remove trailing \