fix to only take one image a second-take 3