fix(index): Fix site crashing bug