Fixed errors in moving files