Fix bug for media printout