fixing the cros validation