fixed bug where match attribute was not hidden from the router