fixed the misalignment issue