adding subtype for corrupted frames; deleting prints for wrong subtypes