fixing header favicon to look for type as well