fixed a mknod bug