Fix bad syntax on exit call