fix mainPicture not present