remove bug in erase inode