Cover it with foil during part of the baking time to prevent burning. You will then only uncover toward the end to allow the cheese to melt and brown slightly. If you cook uncovered the entire time, then you run the risk of burning the cheese.