fixes bug on production index view