another patched file and close fix