clearing the old img src before setting the new one
closes #62