fix(ischanged) make dir first and then do things