bugfix
add img cleaning