fix #1, ping success reversed