fixed a minor bug with alignment rows