added exception handling for fill*Image
fixed typo