remove unused db connection in base
fix #1