fix alignment bug