close() fix