prevent exporting a list multiple times. fixes tp #538