fix messages feature to match latest response format