added rollback clause to fix cleardb problem! woo