corrected building of InnerClassTag
corrected sanity check