fix bug - redirect after a post action