remove utf8 encode function from controller