add default karma sql
fix timestamp of karma