fixing issue on production with routes