fix url
remove a lot of style warnings