Correcting alignment