obj releasing bug fixed