fix errors messages for content controller