fixed an error I introduced in Matt's validate stuff