fixed empty alignment bug