chang dontcare symbol to '-' and print alignment