Serial Transmission Suddenly Gets Delay

This is strange looking.

  while( Serial.available() == 0);
  direct = Serial.read() -'0';