Fix the 'show' view generation