minor bugfix: use utils.exit() not exit()