fixes generator view