small bugfix with file moving