fixed unbound $match[]