fix a resource leak