attempt to fix mysterious close