Fixed a bug in saving POC