fix  imdex route