alignment bug fix