Stock futures are flat after Dow, S&P 500 post losing