added redirect when click