removing error directory