fix Object [object] bug