solve boomerang bug