fixed buffering of input messages