revise Alignment type in package.scala