replace bell symbol to $'\x07'