fix generator and re-gen