hack to avoid assertion in magical record