Generator fixed