finially fix that stupid template in index