fixing group exporting