bugfix concerning folder creation