Sometimes I end up printing parts with top surfaces that sag.
One of the things I look at when this happens is the infill settings. The top surfaces bridge across the infill gaps. If they are too far apart it can cause sagging.
Another thing to look at is the number of top layers. Increasing the number of top surfaces can help with this too.