fix settings, firt url and tempalte