There are a few things that can cause this. Make sure the sweet potatoes are completely dry before coating them thoroughly in oil. Don't overcrowd sweet potatoes on the pan and make sure no pieces are overlapping. You can also check your oven temperature with an oven thermometer to make sure that it's truly the temperature it says it is (it's surprising how often oven temps are wrong!). When in doubt, just bake them longer.