fixed bug preventing loading from arbitrary frame