Why the same code (as lines 231-233) is executed also here?