fix user media permission