fixed image counter