made a bug fix since I changed the class db variable to be static
using sitename for title now