fixed some character coding issues