fix "Data" method for undefined values