Fix a bug for the keyboard in mkdir