modified Thumnail_mode