prevent acceptance of blank values