fixed some character controls