fix active record db host