fix some inspection stuff