fixed some inspection errors