Stocks mostly flat after weak economic data