Correcting parameters passed into exit function