num validation bug