fix upload img error