KeyError when removing header check in csv dialog fixed