fixed crash on closing