Fix a problem of calling method after release.