fixes for firefox related bug having difficulty copying objects