fixed getAllPicture error