see #9 - fix NULL check for DataStyle