bug fix on base and main url related to favicon