fix for obstacle widget