fixed bug routes