Fixing external media detection