fixed get database host