fixing redirect to index again