fixed invalid variable