Fixed incorrect vars