fav icon, refactoring