Fixed an issue where think had the wrong db name