closing error