fix type in validation message