Fixed MKDIR bug