remove global object