Fixed the [Object object] code