Changed worker stats delete method and rever changes on code format