Fixed null casting exception on remote object added without content length