base dir fix in smowhome