fixing bootstrap to fit with new DB class