picture count fix