check for unclosed things