fixed file move function
fixed time funciton