get frame before boxes