fixing extension match