remove debug 'exit()' call