fixed repeated redirect/log/addobstetrics call