correct the copying of imgs in the build