check alignment