remove trailing #