fix move reference to file