Fixed weird character insertion