fixed bug in file move