fixed a bug in generic views import