some terminate and close issues