hotfix: bad indexing on occupy_entry