fixed conditional issue in ipclib