handle error messages and existing media #455