clean up messages for consistency.