remove ~"foo" and &"foo" literals