remove bang pattern