Table export bug fixed