remove this and use index directive