fixed mark-matchp