only create remote object if there was no error