fixed a validate_message in Tip