fix MemChainToAlign.scala MemChainType.scala