remove extraneous ~