validation product not working