Bugfix: we can now detach a media using the provider