fix error when a wanted frame isn't included in the data, eg. frame3 (-->Piko)