cope with extent being None