changing view mode from bundle to entity types.