index template not rendering