making compatible with hapi v6.x.x