next variables fixed