Fixed a copy and paste issue when moving files