Fix savind liocal data when idPrefix. Thanks to Oleg