hopefully fixed dir issue