a simple 'break' was missing, omg