fix turbolinks issue on redirect