database cofig fixed