LB-1468: Image upload breaks after first image

fixed