fixed UserPtr in main vector