added charset to controllers