more debug around close