making show and index views more reliable