fixed problem with blocking and pinging