fixed error where 'resolveNick' returned an error