fixing terminating issues