fixed error in msg_box of total images