img directory is cleaned