fixing routes and incoming mails