fix notice due to media not on filesystem