insertObject workaround