fixes routes issue