Removed extra lines
mtx type checking