wrap up deprecated dialoghelper and improvement on process/helper/builder

The last parameter value is wrong as it returns 0 and not the adapter name.