Profit taking follows sharp gains