correcting alignment