make image deletion message work, fixes #368
fix typo