fix class proto