fixed a bug in routing. removed hard coding [KFSQA-1017]