release global object