improved regex for killHead