empty validation fix