fixed alignedCorrectly bug