edited error message in Image class