mark invalid cells