peer: fix potential error.