fixed old issue with marking media as finished