updated bounce handler