cmt IlligalException and tank modifications