use correct getBreakpoint