generator fixed