stock market turns flat