fix svn copy bug, add comments