fix issue for retrieving default view in defaultController