load resource into tabledata because it is saved at the end of resoruce
save