add throw mod error