removes learning dir