correct no function warnings in kill()