fixed error in mv script