fix redirection and title

made fixes as per dave's comments