Cleanup dir and remove internal link