Fix populating view