fix class visibility