fix for opening views with specialiced classes