fix init loader