Fixed a bug in savePOC