connection post_request event needs fixing