Fixed erroneous reporting of frame length