fix to only take one image a second