fixed some bugs with reconfiguration in the EE (seg fault, etc)