fixed table create/delete logic to check for table existance first