fix minor typo

insertDirectoy to insertDirectory