fixed small issue with case-sensitivity for db-connect.