fixes and added routre for index