Fix checkstype