close fixes #2