fixed kill with an 'atoi' and added a small amount to exit