Fix cannot upload issue