fix dataGetter for undefined values