potential fix in stoprecord