added viewname fallback when argument is missing