fix wrong status code in exception
fix whitespace
make the Image class more robust against missing values
version bump