remove directory packages