wip: fix object initialization