sort out contact alignment