find the bug wrong alignment on class boundry