fixed some warnings about alignments