validation problem solved