swiched to postgres and fixed evente.each on home page.