make ver compat with hapi 4