fix broken sskj, ssmj, addagent, and addhost