fixed a number of small issues to get the alignment steps closer to running