fix delete and media style