add check for avoid save in case of remote serialization, issue #3212