remove unused images
fixed a function typo