HOTFIX: only add lms if dims match