Fix mkdir

Fix for a little mistake in mkdir.