Fix bugs in niktohelper