* fixed memory leak
* no need to reuse auto vars
* dissolved entity_s::init()