add site.title and fix some bugs