hotfix: check for nil values in remove-line-breaks, index props correctly for count