createdir fix