Change JOINT_MATRIX to JOINTMATRIX