fixed userdata loading error