Quick Fix to Keep fog from throwing an exception

Not a perm fix, but allows us to create a do box for now
I'd like to keep this branch of the if (and I suspect you will not get an exception from it).  Can you restore this part and see if you are still crashing?