Fixed registration ant validation bug