added cleartables after sending to server