fixing redirect after forward