fix delete action in views
csv import api support string or file import