fix box alignments