fixed a wrong var