small fix for peerclient