Fixed issue with loggin 'viewall'