fix match rendering