throw exception when have no imge