Fix problem for copy and move diary