getCurrentImage_v1

find a bug in getcurrentImage function