MG_pathSpine bug fix