fix fb_capture with a tree