clear table before connecting