Fix view for import and export