fix bug with closing application