fix reference count decreasing
fix reference count increase
use live inode only for non-regular files