hotfix: handling when div_id is null.