Fix generate configuration