match register fix