fix get_*box errors, add new utils function, change type initialize interface.