remove component directory