close internal function support