check validation