create working dir first