fixing templates index and competenceview