fixes routes