fix check more than 3 pics issue