fix for views init