quick fix - mkdir -> makedirs