fixing redirect button