fixing bug in move file

as per my comment before.

thanks!