bugs in sql and travis