fixed #6 redirected after post