fix to work with turbolinks