fix export and print