fix bug in close()
1 file changed