program does not break when pushing enter at the beinging of the line