fixing char controller