fix init upload