remove debug line, add close debug logging