When you remove chips using a flathead screwdriver, try to take the chip directly up and out of the board. In otherwords don't let the chip rotate one way or the other. You will slip the screwdriver under one side of the chip (without legs) and twist the screwdriver slightly. This will lift one side of the chip. Don't do it too much. Now move your screwdriver to the other side of the chip without legs. Repeat this procedure. Keep doing this, moving back and forth until the chip comes straight out and away from the socket.
NOW.
When placing the new chip into the socket, double check that the number "1" pin is in the correct orientation. Otherwise you could burn up the new chip. Make sure that the legs are going in correctly and not getting bent up under the chip.
Once you do one or two, it's a piece of cake.