bug fixed for superClass not public