refactor show Ping effect