Corrected some bugs with alignment.