remove directories not needed