checkAttributeValueGeneration still buggy