bugfix: media handler
clean up after release