remove "debug" exit() call