Investors scratch out stock gains while weighing covid concerns