Moved misplaced break statement