Fix error messag for emty fields.