fix type for friend messages