add proper validation message.