fix: better error msg format
fix: no image is set crash