fix incorrect varaible name from pull 333