Calling same function on the same line is activated