table wont write