fix gems
fix sql adapter