fix messages controllers