fix class variables