Correction to close API