another attempt at correcting alignment