Fixed invalid imaged and added error. Added library
Fixed invalid imaged and added error. Added library