fixed code to make nonexistent favicon work