return validation message for better format