* fix validation bug