fix document icons in database and media library tree