diff --git a/validation/src/create.rs b/validation/src/create.rs
index 747a824..354f8ef 100644
--- a/validation/src/create.rs
+++ b/validation/src/create.rs
@@ -62,7 +62,7 @@ impl crate::message_handler::MessageHandler{
 		}
 
 		// decode dom (slow!)
-		let dom=read_dom(&mut std::io::Cursor::new(model_data)).map_err(Error::ModelFileDecode)?;
+		let dom=read_dom(std::io::Cursor::new(model_data)).map_err(Error::ModelFileDecode)?;
 
 		// parse create fields out of asset
 		let MapInfo{
diff --git a/validation/src/rbx_util.rs b/validation/src/rbx_util.rs
index 947bb9c..94f9344 100644
--- a/validation/src/rbx_util.rs
+++ b/validation/src/rbx_util.rs
@@ -15,10 +15,10 @@ impl std::fmt::Display for ReadDomError{
 }
 impl std::error::Error for ReadDomError{}
 
-pub fn read_dom<R:std::io::Read+std::io::Seek>(input:&mut R)->Result<rbx_dom_weak::WeakDom,ReadDomError>{
+pub fn read_dom<R:std::io::Read+std::io::Seek>(mut input:R)->Result<rbx_dom_weak::WeakDom,ReadDomError>{
 	let mut first_8=[0u8;8];
-	std::io::Read::read_exact(input,&mut first_8).map_err(ReadDomError::Read)?;
-	std::io::Seek::rewind(input).map_err(ReadDomError::Seek)?;
+	std::io::Read::read_exact(&mut input,&mut first_8).map_err(ReadDomError::Read)?;
+	std::io::Seek::rewind(&mut input).map_err(ReadDomError::Seek)?;
 	match &first_8[0..4]{
 		b"<rob"=>{
 			match &first_8[4..8]{
diff --git a/validation/src/validator.rs b/validation/src/validator.rs
index 98251a4..29e1ff1 100644
--- a/validation/src/validator.rs
+++ b/validation/src/validator.rs
@@ -96,7 +96,7 @@ impl crate::message_handler::MessageHandler{
 		}).await.map_err(Error::ModelFileDownload)?;
 
 		// decode dom (slow!)
-		let mut dom=read_dom(&mut std::io::Cursor::new(data)).map_err(Error::ModelFileDecode)?;
+		let mut dom=read_dom(std::io::Cursor::new(data)).map_err(Error::ModelFileDecode)?;
 
 		/* VALIDATE MAP */