Removechild dramas

I am adding two buttons to the stage. Clicking the first button loads four movieclips to the stage. Clicking the second button removes them. This all works fine once then it crashes. It keeps coming up with an error

TypeError: Error #2007: Parameter child must be non-null.
at flash.display::DisplayObjectContainer/removeChild()
at test2_fla::MainTimeline/retractMenu()

Do not know how to resolve this, can someone point me in the right direction.

import fl.transitions.easing.;
import flash.events.
;
import flash.utils.*;

var menuopen = false;
var menuButs = [];

var tab_mc = new menutab_mc();
addChild(tab_mc);
tab_mc.x = 100;
tab_mc.y = 200;
tab_mc.addEventListener(MouseEvent.MOUSE_DOWN,launchMenu);

var tab_mc2 = new menutab_mc();
addChild(tab_mc2);
tab_mc2.x = 50;
tab_mc2.y = 200;
tab_mc2.addEventListener(MouseEvent.MOUSE_DOWN,retractMenu);

function launchMenu(event:Event):void{
trace(menuopen);
for(var a = 0 ; a < 4 ; a++){
var box = new menuBtn();
this.addChild(box);
menuButs.push(box);
box.x = 165+ (166 * a);
box.y = 200;
}

}
function retractMenu(event:Event):void{
for(var a = 0; a < menuButs.length; a++){
this.removeChild(menuButs[a]);
menuButs[a] = null;
}
}