Be sure to cover the mostaccioli for the first 30 minutes of baking. This will prevent the dish from drying out or burning. The ricotta mixture and sauce also helps to stop the noodles from drying out.