fix sql bug; new bootstrap