get frame size from header; probably broke a test