fixed forgotten variable