fixing redirect to production