removing random jpegs