close new works uncorrectly