add fixPictureCount