validation bug