Fix bug in object storing (Snow memory model)