Fixing plfs-mdhim bugs