[LMP] Fixed EOS handler.