fix articles alignment broken in some weird cases, better logic should work fine all the time now